package com.dmgis.hndz.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 地区发送单位管理 send_unit_management
 *
 * @author pengdongdong
 * @description public
 * @date 2025-01-10
 */
@Data
public class SendUnitManagement implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 行政编码
     */
    private String code;

    /**
     * 单位名称
     */
    private String unitName;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间", order = 4)
    @JsonFormat(timezone = "GMT+8:00", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /**
     * 修改时间
     */
    @ExcelProperty(value = "修改时间", order = 4)
    @JsonFormat(timezone = "GMT+8:00", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;


}